
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://ogp.me/ns/fb#">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Facebook Chat Text Generator</title>
 
<link rel="stylesheet" type="text/css" media="all" href="style.css" />					                
   
            
	</head>


<div id="header">
	<div class="top-bg"></div>
  		<div class="layout-978">
			</p>
			<table border=0 id="textgenerator">
				<tbody>
					<tr>
						<td class="caption">Font</td>
						<td class="data">
						<select id="fontSelect" onChange="ajaxFunction();">
						<option value="4">FB Drunk</option>
						<option value="3">DJ Moo</option>
						<option value="0">Fanboy</option>
						<option value="1">Tacobox</option>
						<option value="2">Yahoo</option>
						<option value="8">Neco</option>
						<option value="6">Stroked</option>
						<option value="7">Barbie Pink</option></select> </td>
					</tr>
					<tr>
						<td class="caption">Tin Nhắn</td>
						<td class="data">
						<input type="text" id="inputText" placeholder="Write your message here..." oninput="ajaxFunction();"/></td>
					</tr>
					<tr>
						<td class="caption" style="height:41px;">Xem Trước</td>
						<td class="data">
						<div id="imageList"></div></td>
					</tr>
					<tr>
						<td class="caption">Chat codes</td>
						<td class="data">
						<textarea class="chatCodes" id="chatCodesResult">
</textarea>*Bạn copy codes phía trên sau đó dán vào khung chat của bạn bè trên 
						facebook</td>
					</tr>
				</tbody>
			</table>
			<div style="clear: both;"></div>
			<p>

<script src="jquery.js" type="text/javascript"></script>
<script language="javaScript">

var fonts =  new Array(1);


for (var i = 0; i < 9; i++) {
	fonts[i] = new Array();
}

//Fanboy font
fonts[0]['b'] = {code: '[[163286010464464]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-snc6/156275_163286010464464_159588847500847_251792_570720258_s.jpg'}; 
fonts[0]['a'] = {code: '[[162437323882666]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash3/562023_162437323882666_159588847500847_249933_1822118251_s.jpg'}; 
fonts[0]['!'] = {code: '[[458280007545246]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-snc7/409709_458280007545246_912744906_s.jpg'}; 
fonts[0]['$'] = {code: '[[458279980878582]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-ash4/391344_458279980878582_1621433759_s.jpg'}; 
fonts[0]['('] = {code: '[[458280017545245]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-snc7/304949_458280017545245_675307004_s.jpg'}; 
fonts[0][')'] = {code: '[[458280057545241]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-snc6/221852_458280057545241_1432673001_s.jpg'}; 
fonts[0]['+'] = {code: '[[458280044211909]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-ash4/376677_458280044211909_1194627418_s.jpg'}; 
fonts[0]['-'] = {code: '[[458280027545244]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash4/408329_458280027545244_1544482233_s.jpg'}; 
fonts[0][':'] = {code: '[[458279964211917]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-prn1/522053_458279964211917_853613123_s.jpg'}; 
fonts[0]['='] = {code: '[[458279994211914]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-prn1/547299_458279994211914_1526963129_s.jpg'}; 
fonts[0]['A'] = {code: '[[458279917545255]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-ash3/551256_458279917545255_1789305994_s.jpg'}; 
fonts[0]['B'] = {code: '[[458279937545253]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-snc7/394376_458279937545253_1383377010_s.jpg'}; 
fonts[0]['C'] = {code: '[[458279954211918]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-prn1/531139_458279954211918_2043533286_s.jpg'}; 
fonts[0]['D'] = {code: '[[458280080878572]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-ash4/319333_458280080878572_774856216_s.jpg'}; 
fonts[0]['E'] = {code: '[[458280094211904]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-ash4/428812_458280094211904_1091403998_s.jpg'}; 
fonts[0]['F'] = {code: '[[458280104211903]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-ash3/551089_458280104211903_2027390656_s.jpg'}; 
fonts[0]['G'] = {code: '[[458280114211902]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash3/575012_458280114211902_321657306_s.jpg'}; 
fonts[0]['H'] = {code: '[[458280124211901]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-ash4/405381_458280124211901_1345664268_s.jpg'}; 
fonts[0]['I'] = {code: '[[458280130878567]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-snc7/480078_458280130878567_696780022_s.jpg'}; 
fonts[0]['J'] = {code: '[[458280137545233]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-ash3/553739_458280137545233_1641524877_s.jpg'}; 
fonts[0]['K'] = {code: '[[458280150878565]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-ash4/426754_458280150878565_1241721295_s.jpg'}; 
fonts[0]['L'] = {code: '[[458280157545231]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-snc7/304558_458280157545231_1968355179_s.jpg'}; 
fonts[0]['M'] = {code: '[[458280164211897]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash4/378593_458280164211897_417493586_s.jpg'}; 
fonts[0]['N'] = {code: '[[458280177545229]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-ash4/185515_458280177545229_490040993_s.jpg'}; 
fonts[0]['O'] = {code: '[[458280254211888]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-snc7/293020_458280254211888_841320916_s.jpg'}; 
fonts[0]['P'] = {code: '[[458280257545221]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-ash4/183763_458280257545221_1706903128_s.jpg'}; 
fonts[0]['Q'] = {code: '[[458280260878554]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-snc7/309153_458280260878554_1066805985_s.jpg'}; 
fonts[0]['R'] = {code: '[[458280274211886]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-prn1/558280_458280274211886_655044670_s.jpg'}; 
fonts[0]['S'] = {code: '[[458280280878552]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash4/378595_458280280878552_58243966_s.jpg'}; 
fonts[0][' '] = {code: '[[458590980847482]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash4/380460_458590980847482_2018886790_s.jpg'}; 
fonts[0]['T'] = {code: '[[458280287545218]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-snc7/393790_458280287545218_555483970_s.jpg'}; 
fonts[0]['U'] = {code: '[[458280290878551]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-prn1/552059_458280290878551_2075392592_s.jpg'}; 
fonts[0]['V'] = {code: '[[458280304211883]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-prn1/553774_458280304211883_134173959_s.jpg'}; 
fonts[0]['W'] = {code: '[[458280307545216]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-ash4/417467_458280307545216_604989450_s.jpg'}; 
fonts[0]['X'] = {code: '[[458280310878549]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-ash4/394307_458280310878549_1309996024_s.jpg'}; 
fonts[0]['Y'] = {code: '[[458280314211882]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash3/562883_458280314211882_326832549_s.jpg'}; 
fonts[0]['Z'] = {code: '[[458280317545215]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-snc7/420061_458280317545215_1012435004_s.jpg'}; 
fonts[0]['0'] = {code: '[[458280330878547]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-ash3/523113_458280330878547_458496835_s.jpg'}; 
fonts[0]['1'] = {code: '[[458280187545228]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-ash4/185574_458280187545228_302373435_s.jpg'}; 
fonts[0]['2'] = {code: '[[458280194211894]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-ash3/551577_458280194211894_789078875_s.jpg'}; 
fonts[0]['3'] = {code: '[[458280200878560]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-snc7/294625_458280200878560_1862109603_s.jpg'}; 
fonts[0]['4'] = {code: '[[458280207545226]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-ash4/422535_458280207545226_750881946_s.jpg'}; 
fonts[0]['5'] = {code: '[[458280227545224]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-ash3/529984_458280227545224_1316831807_s.jpg'}; 
fonts[0]['6'] = {code: '[[458280230878557]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-ash4/388127_458280230878557_1249338985_s.jpg'}; 
fonts[0]['7'] = {code: '[[458280234211890]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-ash3/530866_458280234211890_451651677_s.jpg'}; 
fonts[0]['8'] = {code: '[[458280237545223]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-snc7/579872_458280237545223_1529613709_s.jpg'}; 
fonts[0]['9'] = {code: '[[458280240878556]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-snc7/378358_458280240878556_843747746_s.jpg'}; 
//Tacobox
fonts[1][' '] = {code: '[[458590980847482]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash4/380460_458590980847482_2018886790_s.jpg'}; 
fonts[1]['A'] = {code: '[[459914144048499]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-prn1/556440_459914144048499_2049871815_s.jpg'}; 
fonts[1]['B'] = {code: '[[459914150715165]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-ash3/522142_459914150715165_258579409_s.jpg'}; 
fonts[1]['C'] = {code: '[[460024624037451]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-ash3/553914_460024624037451_573080761_s.jpg'}; 
fonts[1]['D'] = {code: '[[460024627370784]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-ash3/522137_460024627370784_458125029_s.jpg'}; 
fonts[1]['E'] = {code: '[[460024637370783]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-prn1/523376_460024637370783_366848825_s.jpg'}; 
fonts[1]['F'] = {code: '[[460024647370782]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-snc6/377136_460024647370782_115962641_s.jpg'}; 
fonts[1]['G'] = {code: '[[460024654037448]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-prn1/542511_460024654037448_1697476851_s.jpg'}; 
fonts[1]['H'] = {code: '[[460024674037446]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-snc6/253883_460024674037446_1857566703_s.jpg'}; 
fonts[1]['I'] = {code: '[[460024680704112]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-ash4/427241_460024680704112_753021872_s.jpg'}; 
fonts[1]['J'] = {code: '[[460024697370777]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-ash4/298752_460024697370777_1438285353_s.jpg'}; 
fonts[1]['K'] = {code: '[[460024707370776]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-snc6/284732_460024707370776_362316001_s.jpg'}; 
fonts[1]['L'] = {code: '[[460024714037442]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-ash3/524445_460024714037442_1325730252_s.jpg'}; 
fonts[1]['M'] = {code: '[[460024717370775]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash3/574503_460024717370775_624334827_s.jpg'}; 
fonts[1]['N'] = {code: '[[460024720704108]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-snc6/255542_460024720704108_386994179_s.jpg'}; 
fonts[1]['O'] = {code: '[[460024727370774]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-ash4/295273_460024727370774_1120784381_s.jpg'}; 
fonts[1]['P'] = {code: '[[460024734037440]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-ash3/533212_460024734037440_894967476_s.jpg'}; 
fonts[1]['Q'] = {code: '[[460024744037439]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-snc6/255587_460024744037439_1937725852_s.jpg'}; 
fonts[1]['R'] = {code: '[[460024754037438]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-snc7/3698_460024754037438_843748720_s.jpg'}; 
fonts[1]['S'] = {code: '[[460024764037437]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-ash3/556380_460024764037437_972850616_s.jpg'}; 
fonts[1]['T'] = {code: '[[460024774037436]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash4/378210_460024774037436_1866048011_s.jpg'}; 
fonts[1]['U'] = {code: '[[460024784037435]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-ash4/386906_460024784037435_1152045858_s.jpg'}; 
fonts[1]['V'] = {code: '[[460024790704101]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-ash3/547092_460024790704101_1766439494_s.jpg'}; 
fonts[1]['W'] = {code: '[[460024797370767]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-ash4/305117_460024797370767_1936153180_s.jpg'}; 
fonts[1]['X'] = {code: '[[460024804037433]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-ash4/391528_460024804037433_1742174692_s.jpg'}; 
fonts[1]['Y'] = {code: '[[460024814037432]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-ash4/484461_460024814037432_1205338819_s.jpg'}; 
fonts[1]['Z'] = {code: '[[460024820704098]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-ash3/559054_460024820704098_1584121340_s.jpg'}; 
fonts[1]['0'] = {code: '[[460024490704131]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-snc6/216004_460024490704131_338034098_s.jpg'}; 
fonts[1]['1'] = {code: '[[460024514037462]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-snc7/426722_460024514037462_717486435_s.jpg'}; 
fonts[1]['2'] = {code: '[[460024524037461]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-snc6/195877_460024524037461_2021412154_s.jpg'}; 
fonts[1]['3'] = {code: '[[460024527370794]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-snc6/195994_460024527370794_1755143769_s.jpg'}; 
fonts[1]['4'] = {code: '[[460024534037460]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-ash4/292923_460024534037460_1019191484_s.jpg'}; 
fonts[1]['5'] = {code: '[[460024550704125]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-ash4/488226_460024550704125_1378972541_s.jpg'}; 
fonts[1]['6'] = {code: '[[460024564037457]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-prn1/557311_460024564037457_1944913842_s.jpg'}; 
fonts[1]['7'] = {code: '[[460024567370790]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-ash4/386906_460024567370790_877858692_s.jpg'}; 
fonts[1]['8'] = {code: '[[460024597370787]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-snc6/221875_460024597370787_2049508085_s.jpg'}; 
fonts[1]['9'] = {code: '[[460024610704119]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-ash4/422247_460024610704119_1731561722_s.jpg'}; 
//Yahoo Font
fonts[2][' '] = {code: '[[458590980847482]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash4/380460_458590980847482_2018886790_s.jpg'}; 
fonts[2]['A'] = {code: '[[463422450364335]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-ash4/487933_463422450364335_685951122_s.jpg'}; 
fonts[2]['B'] = {code: '[[463422457031001]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash3/558174_463422457031001_1559522104_s.jpg'}; 
fonts[2]['C'] = {code: '[[463422463697667]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-snc7/291949_463422463697667_1782963432_s.jpg'}; 
fonts[2]['D'] = {code: '[[463422467031000]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-snc7/320275_463422467031000_1761751388_s.jpg'}; 
fonts[2]['E'] = {code: '[[463422477030999]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-ash3/574649_463422477030999_133755973_s.jpg'}; 
fonts[2]['F'] = {code: '[[463422487030998]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-ash3/539247_463422487030998_983272650_s.jpg'}; 
fonts[2]['G'] = {code: '[[463422493697664]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-ash4/304974_463422493697664_1284900540_s.jpg'}; 
fonts[2]['H'] = {code: '[[463422500364330]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-ash4/387135_463422500364330_1016080455_s.jpg'}; 
fonts[2]['I'] = {code: '[[463422513697662]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-snc7/315032_463422513697662_136016418_s.jpg'}; 
fonts[2]['J'] = {code: '[[463422520364328]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-ash3/551780_463422520364328_2029021373_s.jpg'}; 
fonts[2]['K'] = {code: '[[463422527030994]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-snc7/308441_463422527030994_153303271_s.jpg'}; 
fonts[2]['L'] = {code: '[[463422537030993]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-prn1/564639_463422537030993_435914673_s.jpg'}; 
fonts[2]['M'] = {code: '[[463422540364326]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-snc6/255512_463422540364326_555182446_s.jpg'}; 
fonts[2]['N'] = {code: '[[463422543697659]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-snc6/603431_463422543697659_674208127_s.jpg'}; 
fonts[2]['O'] = {code: '[[463422557030991]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-ash4/206059_463422557030991_77406831_s.jpg'}; 
fonts[2]['P'] = {code: '[[463422573697656]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-snc7/403978_463422573697656_1516882549_s.jpg'}; 
fonts[2]['Q'] = {code: '[[463422587030988]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-snc7/293338_463422587030988_505567925_s.jpg'}; 
fonts[2]['R'] = {code: '[[463422600364320]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash4/375968_463422600364320_1066540480_s.jpg'}; 
fonts[2]['S'] = {code: '[[463422613697652]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-snc6/199683_463422613697652_2026756135_s.jpg'}; 
fonts[2]['T'] = {code: '[[463422627030984]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-snc6/199722_463422627030984_1883196406_s.jpg'}; 
fonts[2]['U'] = {code: '[[463422633697650]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-prn1/554689_463422633697650_1355225791_s.jpg'}; 
fonts[2]['V'] = {code: '[[463422647030982]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-ash3/564584_463422647030982_2051107545_s.jpg'}; 
fonts[2]['W'] = {code: '[[463422657030981]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-ash4/304404_463422657030981_535128672_s.jpg'}; 
fonts[2]['X'] = {code: '[[463422663697647]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-ash4/284493_463422663697647_956259664_s.jpg'}; 
fonts[2]['Y'] = {code: '[[463422667030980]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-snc6/249793_463422667030980_1244923587_s.jpg'}; 
fonts[2]['Z'] = {code: '[[463422673697646]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-ash3/574607_463422673697646_1871275109_s.jpg'}; 
fonts[2]['0'] = {code: '[[463422367031010]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-ash3/561474_463422367031010_757196048_s.jpg'}; 
fonts[2]['1'] = {code: '[[463422383697675]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-snc6/603387_463422383697675_1046360345_s.jpg'}; 
fonts[2]['2'] = {code: '[[463422407031006]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-snc7/378369_463422407031006_9759703_s.jpg'}; 
fonts[2]['3'] = {code: '[[463422410364339]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-snc6/199035_463422410364339_1623059326_s.jpg'}; 
fonts[2]['4'] = {code: '[[463422423697671]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-ash4/205878_463422423697671_1878370255_s.jpg'}; 
fonts[2]['5'] = {code: '[[463422427031004]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-snc7/385997_463422427031004_1263900269_s.jpg'}; 
fonts[2]['6'] = {code: '[[463422437031003]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-ash4/487999_463422437031003_1255536243_s.jpg'}; 
fonts[2]['7'] = {code: '[[463422440364336]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-prn1/563070_463422440364336_332666658_s.jpg'}; 
fonts[2]['8'] = {code: '[[463422443697669]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-ash4/488097_463422443697669_1025026788_s.jpg'}; 
fonts[2]['9'] = {code: '[[463422447031002]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-snc7/426607_463422447031002_414378076_s.jpg'}; 
// Dj Moo Font
fonts[3][' '] = {code: '[[458590980847482]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash4/380460_458590980847482_2018886790_s.jpg'};
fonts[3]['!'] = {code: '[[465636880142892]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-ash3/644758_465636880142892_1435151953_s.jpg'}; 
fonts[3]['?'] = {code: '[[465636886809558]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-snc7/421625_465636886809558_1533356108_s.jpg'}; 
fonts[3]['A'] = {code: '[[465244573515456]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-snc7/314101_465244573515456_673822780_s.jpg'}; 
fonts[3]['B'] = {code: '[[465244576848789]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-ash4/423964_465244576848789_505789288_s.jpg'}; 
fonts[3]['C'] = {code: '[[465244580182122]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-prn1/644203_465244580182122_671512946_s.jpg'}; 
fonts[3]['D'] = {code: '[[465244583515455]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-ash3/523398_465244583515455_1507628133_s.jpg'}; 
fonts[3]['E'] = {code: '[[465244586848788]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-snc7/301103_465244586848788_1748119147_s.jpg'}; 
fonts[3]['F'] = {code: '[[465244590182121]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash4/422833_465244590182121_1391111357_s.jpg'}; 
fonts[3]['G'] = {code: '[[465244596848787]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-ash3/558478_465244596848787_707875691_s.jpg'}; 
fonts[3]['H'] = {code: '[[465244600182120]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-ash4/393425_465244600182120_340580854_s.jpg'}; 
fonts[3]['I'] = {code: '[[465244606848786]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-prn1/644442_465244606848786_1935604156_s.jpg'}; 
fonts[3]['J'] = {code: '[[465244610182119]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-ash4/377583_465244610182119_1899842004_s.jpg'}; 
fonts[3]['K'] = {code: '[[465244613515452]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-snc7/577123_465244613515452_1934700411_s.jpg'}; 
fonts[3]['L'] = {code: '[[465244620182118]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash3/540112_465244620182118_938478672_s.jpg'}; 
fonts[3]['M'] = {code: '[[465244626848784]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-ash3/523636_465244626848784_1498295635_s.jpg'}; 
fonts[3]['N'] = {code: '[[465244630182117]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-snc6/284416_465244630182117_1820405531_s.jpg'}; 
fonts[3]['O'] = {code: '[[465244633515450]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-snc7/381043_465244633515450_216611894_s.jpg'}; 
fonts[3]['P'] = {code: '[[465244640182116]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-ash3/539358_465244640182116_1810808949_s.jpg'}; 
fonts[3]['Q'] = {code: '[[465244650182115]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-snc7/296339_465244650182115_942336228_s.jpg'}; 
fonts[3]['R'] = {code: '[[465244653515448]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-ash4/391636_465244653515448_57396853_s.jpg'}; 
fonts[3]['S'] = {code: '[[465244656848781]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-ash3/564306_465244656848781_1659975999_s.jpg'}; 
fonts[3]['T'] = {code: '[[465244660182114]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-prn1/552093_465244660182114_35617552_s.jpg'}; 
fonts[3]['U'] = {code: '[[465244663515447]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-prn1/523626_465244663515447_1877497897_s.jpg'}; 
fonts[3]['V'] = {code: '[[465244666848780]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-snc6/10489_465244666848780_817290497_s.jpg'}; 
fonts[3]['W'] = {code: '[[465244673515446]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-ash3/539296_465244673515446_11308502_s.jpg'}; 
fonts[3]['X'] = {code: '[[465244676848779]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-ash4/381228_465244676848779_20308140_s.jpg'}; 
fonts[3]['Y'] = {code: '[[465244683515445]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-prn1/539440_465244683515445_1545624575_s.jpg'}; 
fonts[3]['Z'] = {code: '[[465244686848778]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-ash4/309129_465244686848778_1819040567_s.jpg'}; 
fonts[3]['0'] = {code: '[[465244690182111]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash4/381161_465244690182111_1439627795_s.jpg'}; 
fonts[3]['1'] = {code: '[[465244456848801]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-ash4/246619_465244456848801_1337091611_s.jpg'}; 
fonts[3]['2'] = {code: '[[465244466848800]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-ash4/304462_465244466848800_765358672_s.jpg'}; 
fonts[3]['3'] = {code: '[[465244490182131]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-ash3/538476_465244490182131_800267805_s.jpg'}; 
fonts[3]['4'] = {code: '[[465244496848797]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-ash3/539115_465244496848797_389780761_s.jpg'}; 
fonts[3]['5'] = {code: '[[465244503515463]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-ash3/530014_465244503515463_95834848_s.jpg'}; 
fonts[3]['6'] = {code: '[[465244516848795]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash3/546080_465244516848795_547843206_s.jpg'}; 
fonts[3]['7'] = {code: '[[465244530182127]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-snc7/424586_465244530182127_458771447_s.jpg'}; 
fonts[3]['8'] = {code: '[[465244540182126]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-ash4/391713_465244540182126_532995426_s.jpg'}; 
fonts[3]['9'] = {code: '[[465244550182125]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-ash3/523623_465244550182125_503559445_s.jpg'}; 


// Fb Drunk
fonts[4][' '] = {code: '[[458590980847482]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash4/380460_458590980847482_2018886790_s.jpg'}; 
fonts[4]['!'] = {code: '[[465900830116497]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-ash4/381300_465900830116497_1863068696_s.jpg'}; 
fonts[4]['?'] = {code: '[[465900973449816]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-ash3/563148_465900973449816_1546996172_s.jpg'}; 
fonts[4]['A'] = {code: '[[465893976783849]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-ash4/393185_465893976783849_788048161_s.jpg'}; 
fonts[4]['B'] = {code: '[[465893993450514]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-ash4/392540_465893993450514_335015335_s.jpg'}; 
fonts[4]['C'] = {code: '[[465894000117180]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-ash4/320125_465894000117180_229263165_s.jpg'}; 
fonts[4]['D'] = {code: '[[465894003450513]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash4/431272_465894003450513_190974297_s.jpg'}; 
fonts[4]['E'] = {code: '[[465894010117179]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-ash4/320105_465894010117179_1018540962_s.jpg'}; 
fonts[4]['F'] = {code: '[[465894013450512]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-snc6/253590_465894013450512_1975313285_s.jpg'}; 
fonts[4]['G'] = {code: '[[465894026783844]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-ash3/558342_465894026783844_281809909_s.jpg'}; 
fonts[4]['H'] = {code: '[[465894033450510]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-ash3/561758_465894033450510_1841755262_s.jpg'}; 
fonts[4]['I'] = {code: '[[465894036783843]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-snc7/301136_465894036783843_109278910_s.jpg'}; 
fonts[4]['J'] = {code: '[[465894050117175]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-snc6/184047_465894050117175_2119814617_s.jpg'}; 
fonts[4]['K'] = {code: '[[465894060117174]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-ash3/564547_465894060117174_1251512732_s.jpg'}; 
fonts[4]['L'] = {code: '[[465894063450507]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-ash4/431277_465894063450507_354580549_s.jpg'}; 
fonts[4]['M'] = {code: '[[465894070117173]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-ash4/285585_465894070117173_119642564_s.jpg'}; 
fonts[4]['N'] = {code: '[[465894080117172]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-ash4/253126_465894080117172_1104804068_s.jpg'}; 
fonts[4]['O'] = {code: '[[465894086783838]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash3/551987_465894086783838_406722725_s.jpg'}; 
fonts[4]['P'] = {code: '[[465894090117171]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-snc7/391655_465894090117171_1329245733_s.jpg'}; 
fonts[4]['Q'] = {code: '[[465894100117170]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-ash3/563118_465894100117170_1682718356_s.jpg'}; 
fonts[4]['R'] = {code: '[[465894103450503]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-ash4/250396_465894103450503_123158067_s.jpg'}; 
fonts[4]['S'] = {code: '[[465894113450502]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-ash4/402787_465894113450502_1387219980_s.jpg'}; 
fonts[4]['T'] = {code: '[[465894120117168]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-ash4/392523_465894120117168_241051886_s.jpg'}; 
fonts[4]['U'] = {code: '[[465894130117167]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-ash4/318325_465894130117167_114653092_s.jpg'}; 
fonts[4]['V'] = {code: '[[465894140117166]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-ash3/527110_465894140117166_1457688989_s.jpg'}; 
fonts[4]['W'] = {code: '[[465894146783832]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-snc7/304649_465894146783832_250588525_s.jpg'}; 
fonts[4]['X'] = {code: '[[465894170117163]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-snc6/246732_465894170117163_1804411026_s.jpg'}; 
fonts[4]['Y'] = {code: '[[465894176783829]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-ash3/552097_465894176783829_625176945_s.jpg'}; 
fonts[4]['Z'] = {code: '[[465894183450495]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-snc7/301152_465894183450495_958139458_s.jpg'}; 
fonts[4]['0'] = {code: '[[465900840116496]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-prn1/523630_465900840116496_1920992084_s.jpg'}; 
fonts[4]['1'] = {code: '[[465900846783162]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-snc7/320276_465900846783162_1854918237_s.jpg'}; 
fonts[4]['2'] = {code: '[[465900873449826]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-ash4/391989_465900873449826_2144212657_s.jpg'}; 
fonts[4]['3'] = {code: '[[465900876783159]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-snc7/429791_465900876783159_1484177594_s.jpg'}; 
fonts[4]['4'] = {code: '[[465900890116491]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-prn1/558483_465900890116491_493062040_s.jpg'}; 
fonts[4]['5'] = {code: '[[465900896783157]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-ash4/408248_465900896783157_1249323780_s.jpg'}; 
fonts[4]['6'] = {code: '[[465900933449820]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-snc6/253043_465900933449820_355155190_s.jpg'}; 
fonts[4]['7'] = {code: '[[465900950116485]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-ash4/262302_465900950116485_933275498_s.jpg'}; 
fonts[4]['8'] = {code: '[[465900953449818]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-ash4/316867_465900953449818_1261429674_s.jpg'}; 
fonts[4]['9'] = {code: '[[465900963449817]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-snc6/184076_465900963449817_177489776_s.jpg'}; 

//Neco font
fonts[8][' 1'] = {code: '[[458590980847482]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash4/380460_458590980847482_2018886790_s.jpg'}; 
fonts[8][' 2'] = {code: '[[458590980847482]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash4/380460_458590980847482_2018886790_s.jpg'}; 
fonts[8]['01'] = {code: '[[459611064078807]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-snc6/224658_459611064078807_1882965472_s.jpg'}; 
fonts[8]['02'] = {code: '[[459611077412139]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-ash4/386867_459611077412139_897366960_s.jpg'}; 
fonts[8]['A1'] = {code: '[[459335560773024]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-ash4/376826_459335560773024_796880109_s.jpg'}; 
fonts[8]['A2'] = {code: '[[459335570773023]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-ash3/533149_459335570773023_1507478169_s.jpg'}; 
fonts[8]['B1'] = {code: '[[459337127439534]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-ash4/418709_459337127439534_1241841952_s.jpg'}; 
fonts[8]['B2'] = {code: '[[459337134106200]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-snc6/225042_459337134106200_364277072_s.jpg'}; 
fonts[8]['C1'] = {code: '[[459611224078791]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-ash4/304531_459611224078791_991159452_s.jpg'}; 
fonts[8]['C2'] = {code: '[[459611227412124]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-ash4/378658_459611227412124_59651825_s.jpg'}; 
fonts[8]['D1'] = {code: '[[459611230745457]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-ash4/408224_459611230745457_628321139_s.jpg'}; 
fonts[8]['D2'] = {code: '[[459611237412123]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-ash3/542439_459611237412123_1912896105_s.jpg'}; 
fonts[8]['E1'] = {code: '[[459611247412122]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-ash4/378597_459611247412122_980482613_s.jpg'}; 
fonts[8]['E2'] = {code: '[[459611260745454]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash3/578905_459611260745454_691799160_s.jpg'}; 
fonts[8]['F1'] = {code: '[[459611277412119]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-ash3/559103_459611277412119_1823656672_s.jpg'}; 
fonts[8]['F2'] = {code: '[[459611284078785]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-ash4/409588_459611284078785_1645650419_s.jpg'}; 
fonts[8]['G1'] = {code: '[[459611287412118]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-prn1/527968_459611287412118_1923870910_s.jpg'}; 
fonts[8]['G2'] = {code: '[[459611290745451]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-snc6/221822_459611290745451_172751086_s.jpg'}; 
fonts[8]['H1'] = {code: '[[459611297412117]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-ash3/527045_459611297412117_1360357242_s.jpg'}; 
fonts[8]['H2'] = {code: '[[459611300745450]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-prn1/538996_459611300745450_274649220_s.jpg'}; 
fonts[8]['I1'] = {code: '[[459611307412116]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash4/304947_459611307412116_1096672528_s.jpg'}; 
fonts[8]['I2'] = {code: '[[459611320745448]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-ash3/522080_459611320745448_1404963922_s.jpg'}; 
fonts[8]['J1'] = {code: '[[459611324078781]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-snc6/603524_459611324078781_2070731712_s.jpg'}; 
fonts[8]['J2'] = {code: '[[459611334078780]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-ash3/574500_459611334078780_2027218108_s.jpg'}; 
fonts[8]['K1'] = {code: '[[459611344078779]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-ash4/431136_459611344078779_1864052488_s.jpg'}; 
fonts[8]['K2'] = {code: '[[459611350745445]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-snc7/409605_459611350745445_1030605278_s.jpg'}; 
fonts[8]['L1'] = {code: '[[459611364078777]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-snc6/284614_459611364078777_1728332786_s.jpg'}; 
fonts[8]['L2'] = {code: '[[459611370745443]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash4/294630_459611370745443_51654473_s.jpg'}; 
fonts[8]['M1'] = {code: '[[459611374078776]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-ash4/309273_459611374078776_1899892190_s.jpg'}; 
fonts[8]['M2'] = {code: '[[459611387412108]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-snc7/394414_459611387412108_595799210_s.jpg'}; 
fonts[8]['N1'] = {code: '[[459611390745441]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-snc7/394495_459611390745441_411607901_s.jpg'}; 
fonts[8]['N2'] = {code: '[[459611407412106]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-snc7/294336_459611407412106_979551001_s.jpg'}; 
fonts[8]['O1'] = {code: '[[459611410745439]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-snc7/418875_459611410745439_2052297981_s.jpg'}; 
fonts[8]['O2'] = {code: '[[459611420745438]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-snc7/574627_459611420745438_499894718_s.jpg'}; 
fonts[8]['11'] = {code: '[[459611080745472]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-snc6/224597_459611080745472_1589470936_s.jpg'}; 
fonts[8]['12'] = {code: '[[459611084078805]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-ash4/376847_459611084078805_1371138696_s.jpg'}; 
fonts[8]['21'] = {code: '[[459611097412137]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-ash4/400465_459611097412137_1419146312_s.jpg'}; 
fonts[8]['22'] = {code: '[[459611104078803]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-ash4/394211_459611104078803_880971687_s.jpg'}; 
fonts[8]['31'] = {code: '[[459611117412135]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-prn1/546156_459611117412135_789670420_s.jpg'}; 
fonts[8]['32'] = {code: '[[459611127412134]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-ash3/549699_459611127412134_1488061230_s.jpg'}; 
fonts[8]['41'] = {code: '[[459611137412133]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-snc6/223870_459611137412133_31178551_s.jpg'}; 
fonts[8]['42'] = {code: '[[459611140745466]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-ash3/562674_459611140745466_2026190463_s.jpg'}; 
fonts[8]['51'] = {code: '[[459611144078799]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-ash4/205967_459611144078799_1450927233_s.jpg'}; 
fonts[8]['52'] = {code: '[[459611147412132]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-prn1/555686_459611147412132_321132550_s.jpg'}; 
fonts[8]['61'] = {code: '[[459611157412131]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash3/558391_459611157412131_1792641888_s.jpg'}; 
fonts[8]['62'] = {code: '[[459611160745464]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-ash4/409761_459611160745464_2006957782_s.jpg'}; 
fonts[8]['71'] = {code: '[[459611164078797]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-ash3/561716_459611164078797_1644286694_s.jpg'}; 
fonts[8]['72'] = {code: '[[459611180745462]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-ash3/582778_459611180745462_640023509_s.jpg'}; 
fonts[8]['81'] = {code: '[[459611197412127]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-ash3/557304_459611197412127_1407669070_s.jpg'}; 
fonts[8]['82'] = {code: '[[459611200745460]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-snc6/206052_459611200745460_713251502_s.jpg'}; 
fonts[8]['91'] = {code: '[[459611207412126]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-ash4/304559_459611207412126_78963103_s.jpg'}; 
fonts[8]['92'] = {code: '[[459611217412125]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash3/542274_459611217412125_1567263764_s.jpg'}; 
fonts[8]['C2'] = {code: '[[459611227412124]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-ash4/378658_459611227412124_59651825_s.jpg'}; 
fonts[8]['D1'] = {code: '[[459611230745457]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-ash4/408224_459611230745457_628321139_s.jpg'}; 
fonts[8]['D2'] = {code: '[[459611237412123]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-ash3/542439_459611237412123_1912896105_s.jpg'}; 
fonts[8]['E1'] = {code: '[[459611247412122]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-ash4/378597_459611247412122_980482613_s.jpg'}; 
fonts[8]['E2'] = {code: '[[459611260745454]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash3/578905_459611260745454_691799160_s.jpg'}; 
fonts[8]['F1'] = {code: '[[459611277412119]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-ash3/559103_459611277412119_1823656672_s.jpg'}; 
fonts[8]['F2'] = {code: '[[459611284078785]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-ash4/409588_459611284078785_1645650419_s.jpg'}; 
fonts[8]['G1'] = {code: '[[459611287412118]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-prn1/527968_459611287412118_1923870910_s.jpg'}; 
fonts[8]['G2'] = {code: '[[459611290745451]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-snc6/221822_459611290745451_172751086_s.jpg'}; 
fonts[8]['H1'] = {code: '[[459611297412117]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-ash3/527045_459611297412117_1360357242_s.jpg'}; 
fonts[8]['H2'] = {code: '[[459611300745450]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-prn1/538996_459611300745450_274649220_s.jpg'}; 
fonts[8]['I1'] = {code: '[[459611307412116]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash4/304947_459611307412116_1096672528_s.jpg'}; 
fonts[8]['I2'] = {code: '[[459611320745448]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-ash3/522080_459611320745448_1404963922_s.jpg'}; 
fonts[8]['J1'] = {code: '[[459611324078781]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-snc6/603524_459611324078781_2070731712_s.jpg'}; 
fonts[8]['J2'] = {code: '[[459611334078780]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-ash3/574500_459611334078780_2027218108_s.jpg'}; 
fonts[8]['K1'] = {code: '[[459611344078779]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-ash4/431136_459611344078779_1864052488_s.jpg'}; 
fonts[8]['K2'] = {code: '[[459611350745445]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-snc7/409605_459611350745445_1030605278_s.jpg'}; 
fonts[8]['L1'] = {code: '[[459611364078777]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-snc6/284614_459611364078777_1728332786_s.jpg'}; 
fonts[8]['L2'] = {code: '[[459611370745443]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash4/294630_459611370745443_51654473_s.jpg'}; 
fonts[8]['M1'] = {code: '[[459611374078776]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-ash4/309273_459611374078776_1899892190_s.jpg'}; 
fonts[8]['M2'] = {code: '[[459611387412108]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-snc7/394414_459611387412108_595799210_s.jpg'}; 
fonts[8]['N1'] = {code: '[[459611390745441]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-snc7/394495_459611390745441_411607901_s.jpg'}; 
fonts[8]['N2'] = {code: '[[459611407412106]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-snc7/294336_459611407412106_979551001_s.jpg'}; 
fonts[8]['O1'] = {code: '[[459611410745439]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-snc7/418875_459611410745439_2052297981_s.jpg'}; 
fonts[8]['O2'] = {code: '[[459611420745438]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-snc7/574627_459611420745438_499894718_s.jpg'}; 
fonts[8]['P1'] = {code: '[[459611444078769]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-ash4/424209_459611444078769_1024355225_s.jpg'}; 
fonts[8]['P2'] = {code: '[[459611460745434]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-ash3/553825_459611460745434_2000871133_s.jpg'}; 
fonts[8]['Q1'] = {code: '[[459611464078767]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-ash4/304772_459611464078767_453406848_s.jpg'}; 
fonts[8]['Q2'] = {code: '[[459611480745432]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-ash3/523224_459611480745432_1157081770_s.jpg'}; 
fonts[8]['R1'] = {code: '[[459611484078765]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-ash4/304772_459611484078765_511294534_s.jpg'}; 
fonts[8]['R2'] = {code: '[[459611490745431]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-ash4/419975_459611490745431_708107363_s.jpg'}; 
fonts[8]['S1'] = {code: '[[459611497412097]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-snc7/293471_459611497412097_457612846_s.jpg'}; 
fonts[8]['S2'] = {code: '[[459611500745430]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash4/305220_459611500745430_40990363_s.jpg'}; 
fonts[8]['T1'] = {code: '[[459611514078762]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-ash4/394357_459611514078762_2035573761_s.jpg'}; 
fonts[8]['T2'] = {code: '[[459611517412095]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-ash3/555512_459611517412095_82431865_s.jpg'}; 
fonts[8]['U1'] = {code: '[[459611520745428]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-snc7/419900_459611520745428_750218709_s.jpg'}; 
fonts[8]['U2'] = {code: '[[459611527412094]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-snc6/216158_459611527412094_79232212_s.jpg'}; 
fonts[8]['V1'] = {code: '[[459611530745427]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-ash3/540417_459611530745427_144394286_s.jpg'}; 
fonts[8]['V2'] = {code: '[[459611534078760]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-ash4/390935_459611534078760_2028738063_s.jpg'}; 
fonts[8]['W1'] = {code: '[[459611547412092]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-snc7/292951_459611547412092_505122097_s.jpg'}; 
fonts[8]['W2'] = {code: '[[459611550745425]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-ash3/556626_459611550745425_1963743665_s.jpg'}; 
fonts[8]['X1'] = {code: '[[459611557412091]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-ash4/378296_459611557412091_1557807034_s.jpg'}; 
fonts[8]['X2'] = {code: '[[459611570745423]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-snc7/599353_459611570745423_1820081446_s.jpg'}; 
fonts[8]['Y1'] = {code: '[[459611574078756]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-prn1/542439_459611574078756_125273469_s.jpg'}; 
fonts[8]['Y2'] = {code: '[[459611580745422]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-ash3/554768_459611580745422_680412445_s.jpg'}; 
fonts[8]['Z1'] = {code: '[[459611590745421]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-ash4/305035_459611590745421_693157191_s.jpg'}; 
fonts[8]['Z2'] = {code: '[[459611600745420]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-snc7/292953_459611600745420_720562616_s.jpg'};

//Stroked
fonts[6][' '] = {code: '[[458590980847482]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash4/380460_458590980847482_2018886790_s.jpg'}; 
fonts[6]['A'] = {code: '[[468938769812703]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-snc6/250618_468938769812703_957872469_s.jpg'}; 
fonts[6]['B'] = {code: '[[468938783146035]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-ash4/394316_468938783146035_1229703826_s.jpg'}; 
fonts[6]['C'] = {code: '[[468938799812700]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-ash4/487571_468938799812700_1401570326_s.jpg'}; 
fonts[6]['D'] = {code: '[[468938816479365]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-ash3/37781_468938816479365_1358095593_s.jpg'}; 
fonts[6]['E'] = {code: '[[468938829812697]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-ash4/292985_468938829812697_248828400_s.jpg'}; 
fonts[6]['F'] = {code: '[[468938843146029]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-ash4/183291_468938843146029_1165467855_s.jpg'}; 
fonts[6]['G'] = {code: '[[468938859812694]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash4/487428_468938859812694_1204115479_s.jpg'}; 
fonts[6]['H'] = {code: '[[468938879812692]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-ash3/579735_468938879812692_447695090_s.jpg'}; 
fonts[6]['I'] = {code: '[[468938893146024]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-ash3/47264_468938893146024_1676496518_s.jpg'}; 
fonts[6]['J'] = {code: '[[468938903146023]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-snc6/227979_468938903146023_1374873378_s.jpg'}; 
fonts[6]['K'] = {code: '[[468938909812689]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-snc6/262955_468938909812689_991488220_s.jpg'}; 
fonts[6]['L'] = {code: '[[468938916479355]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-ash4/301376_468938916479355_1955182309_s.jpg'}; 
fonts[6]['M'] = {code: '[[468938936479353]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-ash4/270716_468938936479353_478567571_s.jpg'}; 
fonts[6]['N'] = {code: '[[468938976479349]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-ash3/539951_468938976479349_528586686_s.jpg'}; 
fonts[6]['O'] = {code: '[[468939006479346]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-prn1/563933_468939006479346_76053932_s.jpg'}; 
fonts[6]['P'] = {code: '[[468939016479345]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-ash4/396462_468939016479345_1006695089_s.jpg'}; 
fonts[6]['Q'] = {code: '[[468939056479341]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-ash3/564315_468939056479341_1993481308_s.jpg'}; 
fonts[6]['R'] = {code: '[[468939083146005]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-ash3/62540_468939083146005_1590819070_s.jpg'}; 
fonts[6]['S'] = {code: '[[468939103146003]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-snc7/298353_468939103146003_122700718_s.jpg'}; 
fonts[6]['T'] = {code: '[[468939113146002]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-snc7/308108_468939113146002_1884770712_s.jpg'}; 
fonts[6]['U'] = {code: '[[468939123146001]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-ash4/485732_468939123146001_1788688448_s.jpg'}; 
fonts[6]['V'] = {code: '[[468939133146000]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-snc6/228882_468939133146000_1134870239_s.jpg'}; 
fonts[6]['W'] = {code: '[[468939139812666]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-ash3/548838_468939139812666_325950235_s.jpg'}; 
fonts[6]['X'] = {code: '[[468939163145997]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-snc7/579831_468939163145997_1508728671_s.jpg'}; 
fonts[6]['Y'] = {code: '[[468939186479328]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-snc6/198531_468939186479328_2085896160_s.jpg'}; 
fonts[6]['Z'] = {code: '[[468939213145992]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-ash3/36564_468939213145992_1873944295_s.jpg'}; 

//Barbie Pink
fonts[7][' '] = {code: '[[458590980847482]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash4/380460_458590980847482_2018886790_s.jpg'}; 
fonts[7]['A'] = {code: '[[468936533146260]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash4/304961_468936533146260_146680049_s.jpg'}; 
fonts[7]['B'] = {code: '[[468936566479590]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-snc6/283096_468936566479590_897455641_s.jpg'}; 
fonts[7]['C'] = {code: '[[468936586479588]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-snc6/283027_468936586479588_1341755557_s.jpg'}; 
fonts[7]['D'] = {code: '[[468936606479586]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-ash3/576865_468936606479586_1566560166_s.jpg'}; 
fonts[7]['E'] = {code: '[[468936639812916]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-ash3/561161_468936639812916_572733549_s.jpg'}; 
fonts[7]['F'] = {code: '[[468936669812913]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-ash4/310690_468936669812913_32130416_s.jpg'}; 
fonts[7]['G'] = {code: '[[468936733146240]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-ash4/185161_468936733146240_1349035056_s.jpg'}; 
fonts[7]['H'] = {code: '[[468936786479568]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash4/383422_468936786479568_1857165263_s.jpg'}; 
fonts[7]['I'] = {code: '[[468936793146234]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-prn1/548613_468936793146234_527615719_s.jpg'}; 
fonts[7]['J'] = {code: '[[468936816479565]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-ash3/530533_468936816479565_893663190_s.jpg'}; 
fonts[7]['K'] = {code: '[[468936836479563]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-ash4/423585_468936836479563_28629721_s.jpg'}; 
fonts[7]['L'] = {code: '[[468936856479561]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-ash4/301041_468936856479561_1107732990_s.jpg'}; 
fonts[7]['M'] = {code: '[[468936876479559]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-snc7/423844_468936876479559_1167792318_s.jpg'}; 
fonts[7]['N'] = {code: '[[468936929812887]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-ash3/581340_468936929812887_302408494_s.jpg'}; 
fonts[7]['O'] = {code: '[[468936956479551]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-ash4/206392_468936956479551_463226562_s.jpg'}; 
fonts[7]['P'] = {code: '[[468936969812883]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-prn1/75095_468936969812883_1629910568_s.jpg'}; 
fonts[7]['Q'] = {code: '[[468937003146213]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-ash4/386264_468937003146213_206269010_s.jpg'}; 
fonts[7]['R'] = {code: '[[468937036479543]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-snc6/264278_468937036479543_313526272_s.jpg'}; 
fonts[7]['S'] = {code: '[[468937049812875]]', image:'http://photos-h.ak.fbcdn.net/hphotos-ak-ash3/545303_468937049812875_212754348_s.jpg'}; 
fonts[7]['T'] = {code: '[[468937083146205]]', image:'http://photos-b.ak.fbcdn.net/hphotos-ak-snc7/320391_468937083146205_342774255_s.jpg'}; 
fonts[7]['U'] = {code: '[[468937126479534]]', image:'http://photos-d.ak.fbcdn.net/hphotos-ak-ash3/557046_468937126479534_1784386129_s.jpg'}; 
fonts[7]['V'] = {code: '[[468937133146200]]', image:'http://photos-f.ak.fbcdn.net/hphotos-ak-ash4/314175_468937133146200_1841365728_s.jpg'}; 
fonts[7]['W'] = {code: '[[468937146479532]]', image:'http://photos-g.ak.fbcdn.net/hphotos-ak-ash4/309138_468937146479532_2073935933_s.jpg'}; 
fonts[7]['X'] = {code: '[[468937176479529]]', image:'http://photos-a.ak.fbcdn.net/hphotos-ak-ash3/541309_468937176479529_293557998_s.jpg'}; 
fonts[7]['Y'] = {code: '[[468937196479527]]', image:'http://photos-c.ak.fbcdn.net/hphotos-ak-ash3/558302_468937196479527_1526318117_s.jpg'}; 
fonts[7]['Z'] = {code: '[[468937216479525]]', image:'http://photos-e.ak.fbcdn.net/hphotos-ak-ash4/185275_468937216479525_663387435_s.jpg'};

function filterInput($input, $fontIndex)
{
	$result = "";
	
	$isSimpleFont = $fontIndex < 8;
	
	$temp = $input.toUpperCase();
	
	for(var i = 0; i < $temp.length; i++)
	{
		$sm = $temp.substr(i,2);
		
		if ($sm == "<3")
		{
			$result = $result + "a";
			i++;
		}
		else if ($sm == ":)")
		{
			$result = $result + "b";
			i++;
		}
		else
		{
			if ($isSimpleFont)
			{
				if (fonts[$fontIndex][$temp[i]] != undefined)
				{
					$result = $result + $temp[i];
				}
			}
			else if (fonts[$fontIndex][$temp[i] + "1"] != undefined)
			{
				$result = $result + $temp[i];
			}
		}	
	}
	
	return $result;
}

function ajaxFunction()
{

	$fontIndex = $("#fontSelect").val();
	$isSimpleFont = $fontIndex < 8;

	$input =  filterInput($("#inputText").val(),$fontIndex);
	$("#imageList").html("");
	
	$words = $input.split(" ");
	
	$result= "";
	$firstRow = "";
	$secondRow = "";
	
	$currentInRow = 0;
	
	for (var i = 0; i < $words.length; i++)
	{
		$chars=$words[i].split("");
				
		// Check if the next word fits into the current line
		if ($currentInRow + $chars.length > 11)
		{
			// Put a line break only if it's middle of the line
			if ($currentInRow > 0)
			{
				if ($isSimpleFont)
				{
					$result = $result + "\r\n";	
				}
				else
				{
					$result = $result + $firstRow + "\r\n" + $secondRow  + "\r\n";
					$firstRow = "";
					$secondRow = "";
					$("#imageList").append("<br/>");

				}
				$("#imageList").append("<br/>");
				$currentInRow = 0;
			}
		}
		else
		{
			// If there wasn't a line break after the previous word, put a space character
			if (i!=0)
			{	
				if ($isSimpleFont)
				{
					$result= $result + "" + fonts[$fontIndex][' '].code + "";
					$("#imageList").append('<img src=' + fonts[$fontIndex][' '].image + ' width="16px" height="16px"/>');
				}
				else
				{
					$firstRow = $firstRow + "" + fonts[$fontIndex][' 1'].code + "";
					$secondRow = $secondRow + "" + fonts[$fontIndex][' 2'].code + "";
					$("#imageList").append('<div style="width: 16px; float:left;"><img src=' + fonts[$fontIndex][' 1'].image + ' width="16px" height="16px"/><img src=' + fonts[$fontIndex][' 2'].image + ' width="16px" height="16px"/></div>')
					
					//TODO: add image to imagelist
				}
				
				$currentInRow++;
			}
		}
		
		for (var j = 0; j < $chars.length; j++)
		{
		
			if ($currentInRow == 12)
			{
				if ($isSimpleFont)
				{
					$result = $result + "\r\n";	
				}
				else
				{
					$result = $result + $firstRow + "\r\n" + $secondRow  + "\r\n";
					$firstRow = "";
					$secondRow = "";
					$("#imageList").append("<br/>");
				}
				$("#imageList").append("<br/>");
				$currentInRow = 0;
			}
			
			if (j != 0)
			{
				if ($isSimpleFont)
				{
					$result = $result + "";
					
				}
				else
				{
					$firstRow = $firstRow + "";
					$secondRow = $secondRow + "";
				}
				
			}
			
			if ($isSimpleFont)
			{
				$result = $result + fonts[$fontIndex][$chars[j]].code;
				$("#imageList").append('<img src=' + fonts[$fontIndex][$chars[j]].image + ' width="16px" height="16px"/>');
			}
			else
			{
				$firstRow = $firstRow + fonts[$fontIndex][$chars[j]+'1'].code;
				$secondRow = $secondRow + fonts[$fontIndex][$chars[j]+'2'].code;
				$("#imageList").append('<div style="width: 16px; float:left;"><img src=' + fonts[$fontIndex][$chars[j]+'1'].image + ' width="16px" height="16px"/><img src=' + fonts[$fontIndex][$chars[j]+'2'].image + ' width="16px" height="16px"/></div>')
			}
			
			$currentInRow++;
		}
		
		
		
		//$currentInRow += $chars.length;
	}
	
	if ($firstRow!= "")
		{
			$result = $result + $firstRow + "\r\n" + $secondRow;
		}
	
	$("#chatCodesResult").val($result);

}

$(".chatCodes").focus(function() {
			var $this = $(this);
			$this.select();

			// Work around Chrome's little problem
			$this.mouseup(function() {
				// Prevent further mouseup intervention
				$this.unbind("mouseup");
				return false;
				});
			});

</script><!--Ad Injection:bottom-->
			</p>
<p align="center"><a href="http://www.trollvl.com">Www.TrollVL.Com</a><br clear='all' />
           
         
	</div>
</div>
</body>
</html>
